<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="./css/login.css">
    <script src="./js/login.js"></script>
    <title>公路管理系统-登录</title>
</head>
<body>
    <!-- 登录框 -->
    <div class="tbody">
        <!-- 提示文字 -->
        <div class="head">您好，欢迎登录~</div>
        <!-- 表格 -->
        <div class="body">
            <div class="d1">
                <div class="name">
                    用户账号：
                    <input id="sname" onblur="check_sname()" onfocus="show_sname()" type="text" placeholder="请输入账号">
                    <span id="sname_msg"></span>
                </div>
                <div class="pwd">
                    用户密码：
                    <input id="spwd" onblur="check_spwd()" onfocus="show_spwd()" type="password" placeholder="请输入密码">
                    <span id="spwd_msg"></span>
                </div>
                <button onclick="login()">登录</button>
                <div class="reg">
                    <a href="javascript:location.href='reg.html'">没有账号？点击注册</a>
                </div>
            </div>
        </div>
    </div>
</body>
</html>